package com.yanu.t2s.entity;

import java.util.ArrayList;
import java.util.List;

public class User {
    private Integer id;
    private String account;
    private String password;
    private String usertype;
    private String tel;
    private String name;
    private String license;
    private String faren;
    private String address;

    public User(Integer id, String account, String password, String usertype, String tel, String name, String license, String faren, String address) {
        this.id = id;
        this.account = account;
        this.password = password;
        this.usertype = usertype;
        this.tel = tel;
        this.name = name;
        this.license = license;
        this.faren = faren;
        this.address = address;
    }

    public User() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsertype() {
        return usertype;
    }

    public void setUsertype(String usertype) {
        this.usertype = usertype;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getLicense() {
        return license;
    }

    public void setLicense(String license) {
        this.license = license;
    }

    public String getFaren() {
        return faren;
    }

    public void setFaren(String faren) {
        this.faren = faren;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", usertype='" + usertype + '\'' +
                ", tel='" + tel + '\'' +
                ", name='" + name + '\'' +
                ", license='" + license + '\'' +
                ", faren='" + faren + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
